/*字体图标样式的声明  这里注意路径问题*/
@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?2ximmf');
    src: url('../fonts/icomoon.eot?2ximmf#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?2ximmf') format('truetype'),
        url('../fonts/icomoon.woff?2ximmf') format('woff'),
        url('../fonts/icomoon.svg?2ximmf#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* 版心 */
.w {
    width: 1200px;
    margin: 0 auto;
}

/* 导航栏 */
.fl {
    float: left;
}

.fr {
    float: right;
}

.style_red {
    color: red;
}

.navcut {
    height: 31px;
    /* 给父亲添加行高，子元素会继承 */
    line-height: 31px;
    background-color: #f1f1f1;
}

.navcut ul li {
    float: left;
}

.navcut .fr ul li:nth-child(2n) {
    width: 1px;
    height: 12px;
    background-color: #666666;
    margin: 9px 13px 0;
}

.navcut .fr ul .arre-iocn::after {
    content: '\e908';
    font-family: 'icomoon';
    margin-left: 8px;
}

/* 头部模块制作 */
.header {
    position: relative;
    height: 105px;
    /* background-color: pink; */
}

.logo {
    position: absolute;
    top: 27px;
    width: 171px;
    height: 61px;
    /* background-color: skyblue; */

}

.logo a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    font-size: 0;
}

/* 搜索框 */
.search {
    position: absolute;
    width: 542px;
    height: 37px;
    border: 2px solid #b1191a;
    top: 25px;
    left: 348px;
}

.search input {
    float: left;
    width: 456px;
    height: 33px;
    padding-left: 10px;
}

.search button {
    float: left;
    width: 82px;
    height: 34px;
    background-color: #b1191a;
    color: #fff;
}

/* 热点词汇 */
.hotwords {
    position: absolute;
    top: 70px;
    left: 348px;
}

.hotwords a {
    margin: 0 10px;
}

.shoper {
    position: absolute;
    top: 25px;
    right: 65px;
    width: 143px;
    height: 37px;
    line-height: 37px;
    text-align: center;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
}

/* 购物车 */
.shoper::before {
    content: '\e93a';
    font-family: 'icomoon';
    margin-right: 5px;
    color: #b1191a;
}

.shoper::after {
    content: '\e90a';
    font-family: 'icomoon';
    margin-left: 10px;
}

.shoper .count {
    position: absolute;
    top: -5px;
    left: 105px;
    width: 16px;
    height: 14px;
    line-height: 14px;
    background-color: #b1191a;
    color: white;
    padding: 0 5px;
    border-radius: 7px 7px 7px 0;
}

/* 导航栏 */
.nav {
    height: 46px;
    border-bottom: 2px solid #b1191a;
}

.nav .drowdown {
    float: left;

}

.nav .drowdown .dt {
    width: 210px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background-color: #b1191a;
    font-size: 16px;
    color: #ffffff;
}

.nav .drowdown .dd {
    /* display: none; */
    position: absolute;
    width: 210px;
    height: 466px;
    background: #c81623;
}


.nav .drowdown .dd ul li {
    height: 31px;
    background-color: #c81623;
    margin-left: 2px;
    padding-left: 12px;
    line-height: 31px;
    color: #ffffff;
}

.nav .drowdown .dd ul li:nth-child(-n+12):after {
    position: absolute;
    content: '\e90a';
    font-family: 'icomoon';
    color: #ffffff;
    right: 10px;
}

.nav .drowdown .dd ul li:hover::after {
    color: #c81623;
}

.nav .drowdown .dd ul li a {
    font-size: 14px;
    color: #ffffff;
}

.nav .drowdown .dd ul li:hover {
    background-color: white;
    color: #c81623;
}

.nav .drowdown .dd ul li:hover a {
    color: #c81623;
}

.nav .navitem {
    float: left;
}

.nav .navitem ul li {
    float: left;
    height: 45px;
    line-height: 45px;
}

.nav .navitem ul li a {
    display: block;
    font-size: 16px;
    color: #333333;
    padding: 0 25px;
}

.nav .navitem ul li:nth-child(1) {
    margin-left: 35px;
}

.nav .navitem ul li:hover a {
    color: #c81623;
}

/* 底部模块 */
.footer {
    height: 417px;
    background-color: #f5f5f5;
    margin-top: 30px;
}

.footer .one {
    height: 88px;
    border-bottom: 2px solid #ededed;
}

.footer .one ul li {
    float: left;
    width: 240px;
    height: 83px;
    /* background-color: pink; */
    padding: 10px 0 0 37px;
}

.footer .one ul li .h1 {
    float: left;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) no-repeat -251px -3px;
    margin-right: 10px;
    vertical-align: middle;
}

.footer .one ul li .h2 {
    float: left;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) no-repeat -254px -53px;
    margin-right: 10px;
    vertical-align: middle;
}

.footer .one ul li .h3 {
    float: left;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) no-repeat -256px -105px;
    margin-right: 10px;
    vertical-align: middle;
}

.footer .one ul li .h4 {
    float: left;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) no-repeat -257px -156px;
    margin-right: 10px;
    vertical-align: middle;
}

.footer .one ul li .h5 {
    float: left;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) no-repeat -257px -208px;
    margin-right: 10px;
    vertical-align: middle;
}

.footer .two {
    height: 189px;
    border-bottom: 2px solid #ededed;
}

.footer .two dl {
    float: left;
    padding: 23px 0 0 54px;
    margin-right: 70px;
}

.footer .two dl:last-child {
    margin-right: 40px;
    text-align: center;
}

.footer .two dt {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer .two dd {
    font-size: 12px;
}

.footer .three {
    text-align: center;
}

.footer .three .link {
    margin: 20px 0 10px 0;
}

.footer .three .link a {
    padding: 0 14px;
    border-right: 1px solid gray;
}

.footer .three .link a:last-child {
    border: 0;
}

.footer .three .copyright {
    line-height: 20px;
}